package hhm.framessm.mapper;

import hhm.framessm.pojo.TbResource;
import hhm.framessm.pojo.TbResourceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbResourceMapper {
    int countByExample(TbResourceExample example);

    int deleteByExample(TbResourceExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbResource record);

    int insertSelective(TbResource record);

    List<TbResource> selectByExample(TbResourceExample example);

    TbResource selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbResource record, @Param("example") TbResourceExample example);

    int updateByExample(@Param("record") TbResource record, @Param("example") TbResourceExample example);

    int updateByPrimaryKeySelective(TbResource record);

    int updateByPrimaryKey(TbResource record);
}